package com.shen.GOF.builder.builder2;

public class Test {
    public static void main(String[] args) {
        //服务员
        Worker worker = new Worker();
      //  Product product = worker.getProduct();
        //在原来的组合上可以自由组合，不组合默认套餐
        Product product = worker.build1("全家桶")
                .build2("乐堡包")
                .build3("鸡鸡")
                .getProduct();

        System.out.println(product.toString());
    }
}
